package com.hzvtc.bosswang.manageuser.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hzvtc.bosswang.manageuser.domain.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    User selectUserByStudentId(Long studentId);
    Page<User> selectUserList(Page<User> page,@Param("user") User user);
    User selectUserById(Long id);
    User selectUserByUserName(String userName);

    int edit(User user);

    int add(User user);

    Integer delete(Long id);
}
